package com.turing.post.report.util;

import java.math.BigInteger;
import java.util.Date;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;

/**
 * 
 * @author kangzhe
 * 
 */
@Remote
@Local
public interface CreditDaySettlementDao {

	/**
	 * 删除某发卡商某日激活额度变动表数据
	 * 
	 * @param issueCompanyNo
	 * @param tranDate
	 * @throws PCPSApplicationException
	 */
	public void removeCreditDaySettlement(String issueCompanyNo, Date tranDate)
			throws PCPSApplicationException;

	/**
	 * 插入对象
	 * 
	 * @param asbcds
	 */
	public void insert(CreditDaySettlement cds) throws PCPSApplicationException;

	/**
	 * 获取激活额度变动表数据,资金报表(西邮寄卡激活额度变动表)
	 * 
	 * @param issueCompanyNo
	 * @param tranDate
	 */
	public List<Object[]> getCreditDaySettlementReport(String issueCompanyNo,
			String tranDate, Integer page);

	/**
	 * 获取激活额度变动表数据总数,资金报表(西邮寄卡激活额度变动表)
	 * 
	 * @param issueCompanyNo
	 * @param tranDate
	 * @return
	 */
	public BigInteger getCreditDaySettlementTotalReport(String issueCompanyNo,
			String tranDate);
	
	/**
	 * 根据机构号和账务日期查询发卡机构授信额度变化
	 * @param issueBranchNo
	 * @param tranDate
	 * @return
	 */
	public List<Object[]> getCreditDaySettlementByBranch(String issueBranchNo, String tranDate);

}
